package cn.edu.scau.cmi.yewangjiang.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * @author holiday
 * @version 1.0
 * @date 2019-11-17 下午2:41:49
 */
public class HibernateClient extends Application {  
    @Override
    public void start(Stage primaryStage) { 
        try {
            Parent root = FXMLLoader.load(getClass().getResource("../hibernate/HibernateScene.fxml"));
            primaryStage.setTitle("实验六");
            primaryStage.setScene(new Scene(root));
            primaryStage.show();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        launch(args);
    }
}
